.class public Les/ic;
.super Ljava/lang/Object;
.source "DeviceModelManager.java"


# static fields
.field private static a:Les/kc;


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method public constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static a()Les/kc;
    .locals 4
    .annotation build Landroidx/annotation/NonNull;
    .end annotation

    .line 1
    sget-object v0, Les/ic;->a:Les/kc;

    if-nez v0, :cond_3

    .line 2
    const-class v0, Les/ic;

    monitor-enter v0

    .line 3
    :try_start_0
    invoke-static {}, Les/ic;->b()Ljava/util/List;

    move-result-object v1

    .line 4
    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_1

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Les/kc;

    .line 5
    invoke-interface {v2}, Les/kc;->a()Z

    move-result v3

    if-eqz v3, :cond_0

    .line 6
    sput-object v2, Les/ic;->a:Les/kc;

    .line 7
    :cond_1
    sget-object v1, Les/ic;->a:Les/kc;

    if-nez v1, :cond_2

    .line 8
    new-instance v1, Les/hc;

    const-string v2, "common"

    invoke-direct {v1, v2}, Les/hc;-><init>(Ljava/lang/String;)V

    sput-object v1, Les/ic;->a:Les/kc;

    .line 9
    :cond_2
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 10
    :cond_3
    :goto_0
    sget-object v0, Les/ic;->a:Les/kc;

    return-object v0
.end method

.method private static b()Ljava/util/List;
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Les/kc;",
            ">;"
        }
    .end annotation

    .line 1
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 2
    new-instance v1, Les/nc;

    const-string v2, "oppo"

    invoke-direct {v1, v2}, Les/nc;-><init>(Ljava/lang/String;)V

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 3
    new-instance v1, Les/mc;

    const-string v2, "meizu"

    invoke-direct {v1, v2}, Les/mc;-><init>(Ljava/lang/String;)V

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 4
    new-instance v1, Les/pc;

    const-string v2, "xiaomi"

    invoke-direct {v1, v2}, Les/pc;-><init>(Ljava/lang/String;)V

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 5
    new-instance v1, Les/oc;

    const-string v2, "vivo"

    invoke-direct {v1, v2}, Les/oc;-><init>(Ljava/lang/String;)V

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 6
    new-instance v1, Les/jc;

    const-string v2, "huawei"

    invoke-direct {v1, v2}, Les/jc;-><init>(Ljava/lang/String;)V

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 7
    new-instance v1, Les/lc;

    const-string v2, "lenovo"

    invoke-direct {v1, v2}, Les/lc;-><init>(Ljava/lang/String;)V

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    return-object v0
.end method
